-
Notifications
You must be signed in to change notification settings - Fork 25
Update API to 8a67aafbe5e01a738b479ebb82185fbc947866f8 #578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Great job! No new security vulnerabilities introduced in this pull request |
|
Claude finished @bw-ghapp[bot]'s task —— View job Code Review CompleteTasks
Review SummaryI've completed a thorough review of this API bindings update (commit Critical Finding🔴 Security Vulnerability in Self-Hosted Billing API The newly added if let Some(ref param_value) = private_key {
local_var_req_builder =
local_var_req_builder.query(&[("privateKey", ¶m_value.to_string())]);
}Why this is critical:
Note: As @dani-garcia mentioned, these endpoints are incorrectly generated and won't work. However, this should be explicitly documented to prevent accidental usage. Recommendation:
Other Findings✅ Acceptable Breaking Change
ℹ️ KDF Settings Migration Question
📊 Test Coverage Gaps (Non-blocking)
✅ Already Fixed
Architecture Compliance✅ Per CLAUDE.md: "DO NOT edit" auto-generated API clients - this PR correctly contains only auto-generated changes plus necessary integration updates ✅ Integration code follows established patterns ✅ No security-sensitive data logged in error paths (besides the upstream API design issue) RecommendationRequest Changes - The security vulnerability in the self-hosted billing API must be addressed before these endpoints can be safely used. Since these endpoints are incorrectly generated and non-functional (per maintainer comment), I recommend:
The rest of the changes are acceptable as auto-generated API bindings with proper integration updates. |
crates/bitwarden-api-api/src/models/organization_update_request_model.rs
Show resolved
Hide resolved
| #[serde( | ||
| rename = "kdfSettings", | ||
| alias = "KdfSettings", | ||
| skip_serializing_if = "Option::is_none" | ||
| )] | ||
| pub kdf_settings: Option<Box<models::KdfSettings>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💭 Question: With the new kdf_settings field containing structured KDF configuration, are the individual fields (kdf, kdf_iterations, kdf_memory, kdf_parallelism) being deprecated?
The consuming code in bitwarden-core/src/auth/login/prelogin.rs:29-61 still uses the individual fields. Consider if migration to kdf_settings is planned.
🔍 SDK Breaking Change Detection ResultsSDK Version:
Breaking change detection completed. View SDK workflow |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #578 +/- ##
==========================================
- Coverage 79.74% 79.73% -0.01%
==========================================
Files 304 304
Lines 32757 32758 +1
==========================================
Hits 26121 26121
- Misses 6636 6637 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…7aafbe5e01a738b479ebb82185fbc947866f8 (bitwarden/sdk-internal#578)

Updates the API bindings to
8a67aafbe5e01a738b479ebb82185fbc947866f8